import type { App } from 'vue'
import components from '../components/global'

// 注册全局组件
export const componentPlugin = {
  install: (app: App) => {
    for (const i in components) {
      app.component(i, components[i])
    }
  },
}
